WinScene = {}

function WinScene:new()
    local o = {}
    setmetatable(o, {__index = WinScene})
    o:initialize()
    return o
end

function WinScene:initialize()
    love.graphics.setBackgroundColor(0, 100, 150)
    self.font = love.graphics.newFont(50)
end

function WinScene:update(dt) end
function WinScene:mousepressed(x, y, button) end

function WinScene:draw()
    love.graphics.setColor(255, 255, 255)

    love.graphics.setFont(self.font)
    love.graphics.print("You Win!", 350, 275)
end

function WinScene:keypressed(key, unicode)
    if key == "return" then
        SceneManager.push("Home")
    end
end
